-
Home
-
WordPress Migration Plugin – Transferito
-
9.0.1
-
Code
-
Classes
- RateLimiter
Total Complexity |
27 |
Dependencies |
0 |
Dependents |
1 |
Total lines |
175 |
Lines of code |
115 |
Logical lines of code |
63 |
Comment lines |
4 |
Methods |
13 |
Properties |
17 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
__construct() |
S |
54 |
7 |
22 |
updateSendingRate() |
S |
55 |
3 |
21 |
refillTokenBucket() |
S |
59 |
3 |
16 |
acquireToken() |
S |
63 |
3 |
11 |
updateMeasuredRate() |
S |
61 |
2 |
12 |
time() |
S |
68 |
2 |
8 |
isEnabled() |
S |
82 |
1 |
3 |
getSendToken() |
S |
81 |
1 |
3 |
calculateTimeWindow() |
S |
77 |
1 |
3 |
cubicSuccess() |
S |
73 |
1 |
4 |
cubicThrottle() |
S |
80 |
1 |
3 |
enableTokenBucket() |
S |
81 |
1 |
3 |
updateTokenBucketRate() |
S |
70 |
1 |
6 |